const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  userInfo: state => state.user.userInfo,
  isLogin: state => !!state.user.userInfo.userId,
  permission: state => state.permission.allRoutes
}
export default getters
